libdht: adjust with glibc and libcrypt-compat
authorKonstantin Demin <[email protected]>
Fri, 4 Jul 2025 07:51:40 +0000 (10:51 +0300)
committerJosef Schlehofer <[email protected]>
Mon, 14 Jul 2025 08:40:15 +0000 (10:40 +0200)
glibc 2.39 has removed libcrypt completely.
solution: link against libxcrypt built with glibc compatibility.

Signed-off-by: Konstantin Demin <[email protected]>
libs/libdht/Makefile

index 46217cb9c503ad1e85c0b5663942fc2ef9e6aeec..a824c63dc897c4d016d253ee8a36cb508bbce498 100644 (file)
@@ -1,7 +1,7 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=libdht
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL:=https://github.com/jech/dht
@@ -20,6 +20,7 @@ define Package/libdht
   SECTION:=libs
   CATEGORY:=Libraries
   TITLE:=Kademlia Distributed Hash Table (DHT) library
+  DEPENDS:= +USE_GLIBC:libcrypt-compat
 endef
 
 define Build/InstallDev